FluentForm\App\Modules\Payments\PaymentHelper C

Total Complexity 121
Dependencies 5
Dependents 27
Total lines 1,139
Lines of code 940
Logical lines of code 295
Comment lines 36
Methods 33
Properties 0

Methods 33

Method Rating Maintainability Complexity Lines of code
getPaymentSummaryText()
B
35 17 84
getCustomerName()
A
46 11 39
getCurrencySymbols()
A
27
1 175
getFormSettings()
A
42 8 54
getCurrencies()
A
28
1 150
decryptKey()
A
53 9 20
formatMoney()
A
50 8 26
encryptKey()
A
55 8 18
getCustomerEmail()
S
52 7 25
log()
S
51 6 26
getFormPaymentMethods()
S
59 4 14
limitLength()
S
60 4 13
recordSubscriptionCancelled()
S
45 1 49
getCurrencySymbol()
S
56 3 19
maybeFireSubmissionActionHok()
S
58 3 15
getCurrencyConfig()
S
60 3 13
formatPaymentItemString()
S
62 3 11
getPaymentSettings()
S
54 2 23
getStripeInlineConfig()
S
56 2 18
getCustomerPhoneNumber()
S
63 3 10
zeroDecimalCurrencies()
S
50 1 29
getPaymentStatuses()
S
55 1 21
loadView()
S
55 1 21
floatToString()
S
65 2 9
convertToCents()
S
68 2 7
getCustomerAddress()
S
66 2 8
getFormInput()
S
64 2 9
isZeroDecimal()
S
72 1 5
updatePaymentSettings()
S
70 1 6
getBillingIntervals()
S
67 1 8
getSubscriptionStatuses()
S
67 1 8
hasPaymentSettings()
S
79 1 3
getFormCurrency()
S
74 1 4